﻿// ------------------------------------------------------------------------------------------------
//  <copyright file="Pattern.cs" company="Iveely">
//    Copyright (c) Iveely Liu.  All rights reserved.
//  </copyright>
//  
//  <Create Time>
//    03/02/2013 21:59 
//  </Create Time>
//  
//  <contact owner>
//    liufanping@iveely.com 
//  </contact owner>
//  -----------------------------------------------------------------------------------------------

#region

using System;
using System.Collections.Generic;

#endregion

namespace IveelySE.NLP.Common.DataStructure
{
    /// <summary>
    ///   匹配模式
    /// </summary>
    [Serializable]
    public class Pattern
    {
        private static Pattern _pattern;

        private Pattern()
        {
            this.Draft = new List<string>
                             {
                                 "*是*|就,但,而,可,不,那,还,你,他,我,她,它,们,只,的,都,要,更,便,光,也,还,算,于,即,总,这,均,该,则,像,竟,才,正,本,仅, ,凡"
                             };
        }

        /// <summary>
        ///   初稿匹配模式
        /// </summary>
        public List<string> Draft { get; set; }

        public static Pattern GetInstance()
        {
            return _pattern ?? (_pattern = new Pattern());
        }
    }
}